<?php 

class Ext_Video_Show_Adapter_Sina extends Ext_Video_Show_Abstract
{
    public function _build($videoId)
    {
        $_videoRow = App_Model_DbTable_Video::getInstance()->getRowById($videoId);
        if(!$_videoRow){
            return "";
        }

        $_siteViewUrl = $_videoRow['url'];
        $_siteViewId  = $_videoRow['viewId'];
        
        $this->siteViewUrl  = $_siteViewUrl;
        $this->siteName     = '新浪播客';
        $this->flash        = 'http://you.video.sina.com.cn/api/sinawebApi/outplayrefer.php/vid='.$_siteViewId.'/s.swf';
        
    }

}
